package com.example.manu_facturer_orders.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 厂商/服务商 支付单
 * </p>
 *
 * @author 
 * @since 2022-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FacturerPaymentVO implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 结算日期
     */
    private Date billDate;

    /**
     * 支付状态 0-未支付 1-已支付
     */
    private Integer billType;

    /**
     * 应付金额(通过账单查询总额)
     */
    private String billAmountPayable;

    /**
     * 已付金额(通过账单查询总额)
     */
    private String billPayed;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 1-厂商 2-服务商 区分服务商/厂商
     */
    private Integer billUserType;


}
